package Demo2;
class Animal{

}

class Cat extends Animal {

}

public class javaTest {
    public static void fun(Animal animal){

    }

    public static void main(String[] args) {
        
    }
}
